package com.lxk;

import java.util.Date;

/**
 * @author 柳新宽
 * @create 2022-03-31  14:45
 * @describe
 */
public class Film {
    private Integer filmId;//电影的编号
    private String filmName;//电影名称
    private String filmType;//电影类型
    private String filmTime;//时长
    private String filmActor;//主演
    private String filmIntro;//简介
    private Date publicationTime;//上映时间

    @Override
    public String toString() {
        return "Film{" +
                "filmId=" + filmId +
                ", filmName='" + filmName + '\'' +
                ", filmType='" + filmType + '\'' +
                ", filmTime='" + filmTime + '\'' +
                ", filmActor='" + filmActor + '\'' +
                ", filmIntro='" + filmIntro + '\'' +
                ", publicationTime=" + publicationTime +
                '}';
    }

    public Film() {
    }

    public Film(Integer filmId, String filmName, String filmType, String filmTime, String filmActor, String filmIntro, Date publicationTime) {
        this.filmId = filmId;
        this.filmName = filmName;
        this.filmType = filmType;
        this.filmTime = filmTime;
        this.filmActor = filmActor;
        this.filmIntro = filmIntro;
        this.publicationTime = publicationTime;
    }

    public Integer getFilmId() {
        return filmId;
    }

    public void setFilmId(Integer filmId) {
        this.filmId = filmId;
    }

    public String getFilmName() {
        return filmName;
    }

    public void setFilmName(String filmName) {
        this.filmName = filmName;
    }

    public String getFilmType() {
        return filmType;
    }

    public void setFilmType(String filmType) {
        this.filmType = filmType;
    }

    public String getFilmTime() {
        return filmTime;
    }

    public void setFilmTime(String filmTime) {
        this.filmTime = filmTime;
    }

    public String getFilmActor() {
        return filmActor;
    }

    public void setFilmActor(String filmActor) {
        this.filmActor = filmActor;
    }

    public String getFilmIntro() {
        return filmIntro;
    }

    public void setFilmIntro(String filmIntro) {
        this.filmIntro = filmIntro;
    }

    public Date getPublicationTime() {
        return publicationTime;
    }

    public void setPublicationTime(Date publicationTime) {
        this.publicationTime = publicationTime;
    }
}
